<ul class="footer">
  <li {if [select] == 1}class="active"{/if}>
  <a href="/">
    <img src="/static/index/img/index{if [select] == 1}-active{/if}.png" alt=""/>
    <p>首页</p>
  </a>
  </li>
  <li {if [select] == 2}class="active"{/if}>
  <a href="{:url('classify/index')}">
    <img src="/static/index/img/classify{if [select] == 2}-active{/if}.png" alt="">
    <p>分类</p>
  </a>
  </li>
  <li {if [select] == 3}class="active"{/if}>
  <a href="{:url('cart/index')}">
    <img src="/static/index/img/cart{if [select] == 3}-active{/if}.png" alt="">
    <p>购物车</p>
  </a>
  </li>
  <li {if [select] == 4}class="active"{/if}>
  <a href="{:url('user/index')}">
    <img src="/static/index/img/profile{if [select] == 4}-active{/if}.png" alt="">
    <p>我的</p>
  </a>
  </li>
</ul>